<template>
  <div class="demo-title">image-picker/demo6</div>
  <div class="image-picker-demo">
    <ImagePicker v-model:file-list="fileList" url="https://xxxx" :maximum="3" disabled />
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue'
  import ImagePicker from '@sscd-mobile/image-picker'
  import { type FileItem } from '@sscd-mobile/image-picker'
  const fileList = ref<FileItem[]>([
    {
      name: '文件1.png',
      url: 'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/components/h5/image-picker/demo-1.png',
      status: 'success',
      message: '上传成功',
      type: 'image'
    },
  ])
</script>

<style lang="less" scoped>
  .image-picker-demo {
    background-color: #fff;
    padding: 12px;
  }
</style>
